package cc.rengu.redp.bizimpl.csmc.service;

import cc.rengu.redp.bizimpl.csmc.domain.CClearRule;
import cc.rengu.redp.common.domain.QueryRequest;
import cc.rengu.redp.common.exception.RedpException;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * @author lizk
 */
public interface ICClearRuleService extends IService<CClearRule> {

    IPage<CClearRule> findByPage(QueryRequest queryRequest, CClearRule clearRule);

    void createClearRule(CClearRule clearRule) throws RedpException;

    void updateClearRule(CClearRule clearRule) throws RedpException;

    Map<String, Object> searchClearRuleData(String q, QueryRequest request);
}
